
<div class="Breadcrumb">
	  <div class="Breadcrumb-i">您当前所在的位置：<span><a href="<?php echo base_url($this->_site_path.'/guestbook');?>">信息反馈表</a></span>&nbsp;>&nbsp;<span class="orange">列表</span> </div>               <div class="Breadcrumb-div">
       	   <ul>
           	   <li class="Breadcrumb-tj"><a href="<?php echo base_url( $this->_site_path.'/guestbook/add' );?>" >添加</a></li>
           	   <li class="Breadcrumb-lb"><a href="<?php echo base_url( $this->_site_path.'/guestbook' );?>" >列表</a></li>
           </ul>
        </div>
</div>

<?php $this->load->view_part($this->_site_path.'/guestbook/search')?>

<form method="post" action="<?php echo base_url($this->_site_path.'/guestbook/delete_all');?>">

	<table class="table table-striped table-condensed table-bordered">
		<thead>
			<tr class="table-thbg">
				<th>选择</th>
			<th>id</th>
			<th>guesttype</th>
			<th>guestid</th>
			<th>username</th>
			<th>guesttitle</th>
			<th>guestcontent</th>
			<th>adminreply</th>
			<th>adminreplyadmin</th>
			<th>content</th>
			<th>created</th>
			<th>modified</th>
			<th>status</th>
                   <th>操作</th>
			</tr>
		</thead>
		<tbody>
			<?php foreach( $guestbook_data as $single ) { ?>
			<tr>
				<td>
					<input name="ids[]" value="<?php echo $single['id']; ?>" type="checkbox" />
				</td>
				<td><?php echo $single['id']; ?></td>
				<td><?php echo $single['guesttype']; ?></td>
				<td><?php echo $single['guestid']; ?></td>
				<td><?php echo $single['username']; ?></td>
				<td><?php echo $single['guesttitle']; ?></td>
				<td><?php echo $single['guestcontent']; ?></td>
				<td><?php echo $single['adminreply']; ?></td>
				<td><?php echo $single['adminreplyadmin']; ?></td>
				<td><?php echo $single['content']; ?></td>
				<td><?php echo $single['created']; ?></td>
				<td><?php echo $single['modified']; ?></td>
				<td><?php echo $single['status']; ?></td>

				<td>
					<a href="<?php echo base_url("{$this->_site_path}/guestbook/view/{$single['id']}"); ?>">查看</a>
					<a href="<?php echo base_url("{$this->_site_path}/guestbook/edit/{$single['id']}"); ?>">修改</a>
					<a href="<?php echo base_url("{$this->_site_path}/guestbook/delete/{$single['id']}"); ?>" onclick="return confirmDelete()">删除</a>
					
				</td>
			</tr>
		<?php } ?>
	</tbody>
	</table>
	<div class="li-ttle floa-Left">
		<ul>
			<li><label><input name="checkAll" type="checkbox" onclick="checkAllfuck()"/>&nbsp;全选</label></li>
			<li><label><input name="checkInverse" type="checkbox" onclick="checkInversefuck()"/>&nbsp;反选</label></li>
			<li><button type="submit"  class=" btn" onclick="return confirmDelete()"><span  class="btn-Bulkdelete">批量删除</span></button></li>
		</ul>
	</div> 
	<?php echo $pagination; ?>
</form>
